package com.itheima.impl;

import com.itheima.dao.UserDao;

public class UserDaoImpl implements UserDao {
    private UserDao userDao;

    public void setUserDao(){
        userDao.save();
    }
    public UserDaoImpl() {
        System.out.println("UserDaoImpl创建.......");
    }

    public void init(){
        System.out.println("init初始化方法.....");
    }

    public void destory(){
        System.out.println("destory销毁方法.....");
    }
    @Override
    public void save(){
        System.out.println("save running!!!......");
    }
}
